﻿

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<link href="../../Content/items1/LogOn.css" rel="stylesheet" type="text/css" />




<div id="login">


    @if (User.IsInRole("Admin"))
    {
        <h3>Click to access the Admin section </h3> <a href="@Url.Action("Index","Candidate")"><button id="submit" style="margin:auto;">Continue </button></a>
    }
    else if (User.IsInRole("Examiner"))
    {
        <h3>Click to access the Examiner section </h3> <a href="@Url.Action("Index", "ScheduleTest")"><button id="submit" style="margin:auto;">Continue </button></a>
    }
    else if (User.IsInRole("Candidate"))
    {
        <h3>Continue to activate your test token </h3> <a href="@Url.Action("Index", "ActivateTestToken")"><button id="submit" style="margin:auto;">Continue </button></a>
    }




</div>

